package org.auth.center.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Description 用户
 * @E-mail cwm3412638@163.com
 * @Author cwm
 * @Date 2024/8/13
 */
@Data
@TableName("account")
public class Account {
    @TableId(type = com.baomidou.mybatisplus.annotation.IdType.AUTO)
    private Long id;
    private String username;
    private String password;
    @TableField(value = "is_account_non_expired")
    private Boolean accountNonExpired;
    @TableField(value = "is_account_non_locked")
    private Boolean accountNonLocked;
    @TableField(value = "is_credentials_non_expired")
    private Boolean credentialsNonExpired;
    @TableField(value = "is_enabled")
    private Boolean enabled;
}
